//
//  MingXiTabHeader.m
//  夺宝吧
//
//  Created by xiaocai on 15/7/24.
//  Copyright (c) 2015年 FangYuan. All rights reserved.
//

#import "MingXiTabHeader.h"

@interface MingXiTabHeader ()
{
    __weak IBOutlet UILabel *allLab;
    
}
@end
@implementation MingXiTabHeader

- (void)awakeFromNib
{
    [self addSubview:[WYPublic getFenGexian:0 :0 :WYMWITH :0.5]];
    [self addSubview:[WYPublic getFenGexian:0 :self.frame.size.height - 0.5 :WYMWITH :0.5]];
    [self addSubview:[WYPublic getFenGexian:0 :CGRectGetMaxY(allLab.frame)+8 :WYMWITH :0.5]];
}
- (void)reloadHeaderWith:(NSAttributedString *)str
{
    allLab.attributedText = str;
}
@end
